WPGraphQL\Model\Model S

Total Complexity 50
Dependencies 3
Dependents 2
Total lines 553
Lines of code 167
Logical lines of code 100
Comment lines 313
Methods 19
Properties 8

Methods 19

Method Rating Maintainability Complexity Lines of code
get_visibility()
A
53 8 22
wrap_fields()
S
55 5 19
prepare_field()
S
58 5 15
get_model_name()
S
60 4 13
current_user_can_access_field()
S
61 4 11
__construct()
S
59 3 14
__get()
S
63 3 11
filter()
S
67 3 8
owner_matches_current_user()
S
70 3 6
prepare_fields()
S
64 2 9
html_entity_decode()
S
67 2 7
add_model_visibility()
S
64 1 11
__isset()
S
79 1 3
restrict_fields()
S
67 1 8
is_private()
S
82 1 3
tear_down()
S
91 1 2
setup()
S
91 1 2
__set()
S
80 1 3
init()
S
100 1 0